﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QUANLIBANHANG.DAL;
namespace QUANLIBANHANG.BUS
{
   public class BackupRestoreBUS
    {
       // Backuodata 
       public static void backupData(string pathFile)
       {
           try
           {
               BackupRestoreDAL.backUpData(pathFile);
           }
           catch ( Exception e)
           {
               
               throw e;
           }
       }
       // Restore CSDL
       public static void restoreData(string pathFile)
       {
           try
           {
               BackupRestoreDAL.restoreData(pathFile);
           }
           catch (Exception e) 
           {
               
               throw e;
           }
       }
    }
}
